﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MsCreation
{
     class Status
    {
        public static void PrintStats(Hero hero)
        {
            Console.Clear();
            Console.Write(@"
Name:{0}
Hitpoints: {1}/{2}
Defense:{3}
Attack:{4}
Experience:{5}
Gold:{6}
Items:", hero.Identifier, hero.CurrentHealth, hero.MaxHealth,
         hero.Defense, hero.AttackDamage, hero.Experience, hero.Gold);
            foreach (string item in hero.inventory)
            {
                Console.WriteLine(item);
            }
            Console.WriteLine();
            Console.WriteLine("Press enter to continue....");
            Console.ReadLine();
            Console.Clear();
        }
    }
}
